package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 专题栏目; InnoDB free: 15360 kB
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-25
 */
@TableName("clm_column_room")
public class ClmColumnRoom extends Model<ClmColumnRoom> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Integer id;
    /**
     * 栏目ID
     */
    @TableField("column_id")
    private String columnId;
    /**
     * 栏目名称
     */
    @TableField("column_name")
    private String columnName;
    /**
     * 课堂ID
     */
    @TableField("room_id")
    private String roomId;
    /**
     * 名师ID
     */
    @TableField("teacher_id")
    private String teacherId;
    /**
     * 创建时间
     */
    @TableField("create_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
    /**
     * 修改时间
     */
    @TableField("update_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateDate;
    @TableField("create_user")
    private String createUser;
    /**
     * 修改人
     */
    @TableField("update_user")
    private String updateUser;
    /**
     * 是否删除：0-正常 1-删除
     */
    @TableField("is_delete")
    private String isDelete;
    /**
     * 站点ID
     */
    @TableField("site_id")
    private String siteId;
    /**
     * 栏目描述
     */
    @TableField("column_desc")
    private String columnDesc;
    
    /**
     * 状态 0-下架 1-上架
     */
    @TableField("status")
    private String status;
    
    /**
     * 是否置顶 0-否1-是
     */
    @TableField("be_top")
    private String beTop;

    /**
     * 置顶时间
     */
    @TableField("top_date")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date topDate;
    
    

    public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getBeTop() {
		return beTop;
	}

	public void setBeTop(String beTop) {
		this.beTop = beTop;
	}

	public Date getTopDate() {
		return topDate;
	}

	public void setTopDate(Date topDate) {
		this.topDate = topDate;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getColumnId() {
        return columnId;
    }

    public void setColumnId(String columnId) {
        this.columnId = columnId;
    }

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getRoomId() {
        return roomId;
    }

    public void setRoomId(String roomId) {
        this.roomId = roomId;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getColumnDesc() {
        return columnDesc;
    }

    public void setColumnDesc(String columnDesc) {
        this.columnDesc = columnDesc;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

	@Override
	public String toString() {
		return "ClmColumnRoom [id=" + id + ", columnId=" + columnId
				+ ", columnName=" + columnName + ", roomId=" + roomId
				+ ", teacherId=" + teacherId + ", createDate=" + createDate
				+ ", updateDate=" + updateDate + ", createUser=" + createUser
				+ ", updateUser=" + updateUser + ", isDelete=" + isDelete
				+ ", siteId=" + siteId + ", columnDesc=" + columnDesc
				+ ", status=" + status + ", beTop=" + beTop + ", topDate="
				+ topDate + "]";
	}

    
}
